package com.vhall.component.service.rbac;


import com.vhall.component.entity.rbac.vo.*;

import java.util.List;

/**
 * @author dalong
 * @date 2021-05-14 14:35
 */
public interface RbacMenuService {

    /**
     * 添加菜单
     *
     * @param reqVO
     * @return
     */
    MenuesVO add(MenuAddReqVO reqVO);

    /**
     * 批量删除菜单
     *
     * @param reqVO
     * @return
     */
    List<Integer> batchDelete(MenuDeleteReqVO reqVO);

    /**
     * 菜单编辑
     *
     * @param reqVO
     * @return
     */
    boolean edit(MenuEditReqVO reqVO);

    boolean updateSortOrStatus(MenuEditReqVO reqVO);

    /**
     * 根据菜单id查询菜单信息
     *
     * @param menuId
     * @return
     */
    MenuesVO getInfoById(Integer menuId);

    /**
     * 获取菜单列表
     *
     * @param reqVO
     * @return
     */
    List getList(MenuListReqVO reqVO);
}
